package com.yeswater.multithread.chapter1.test1_11.test8;

/**
 * author : yeswater
 * date : 2023/10/19
 */

public class ThreadA extends Thread{

    private MyService obj;

    public ThreadA(MyService obj) {
        super();
        this.obj = obj;
    }

    @Override
    public void run() {
        obj.printString("b", "bb");
    }
}
